<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    
    <f:view contentType="text/html" locale="#{misafirKullaniciOzellikleri.kullaniciLocale}">
        <h:head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>
                Kurumsal Otomasyon - Giriş
            </title>

            <link type="text/css" rel="stylesheet" href="#{request.contextPath}/sablon/css/stil.css" />
            <h:outputText value="#{applicationBean}" style="display: none"/>
        </h:head>
        <h:body styleClass="login">
            <div class="login-div">
                <center>
                    
                    <p:outputPanel layout="block" style="width:100%;height:600PX;border:0px solid #666666; vertical-align: middle">
                        <p:spacer height="100px"/><br/>
                        <!--                    <h:graphicImage url="/resources/imajlar/TURK-TELEKDM-LOGO.jpg"/><br/>-->
                        <p:spacer height="10px"/><br/>
                        <p:panel id="girisEkrani" header="Kullanıcı Girişi"
                                 style="width:500px;" >
                            <form name="f" action="#{request.contextPath}/j_spring_security_check" method="POST">
                                <p:captcha theme="white"/>
                                <table>
                                    <tr>
                                        <td><h:outputText value="#{lbl.kullanici_adi}"/></td>
                                        <td>:<input type="text" name="j_username" value=""/></td>
                                    </tr>
                                    <tr>
                                        <td><h:outputText value="#{lbl.sifre}"/></td>
                                        <td>:<input type="password" name="j_password"/></td>
                                    </tr>
                                    <tr>
                                        <td  colspan="2" align="left">
                                            
                                           
                                         
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="right">
                                            <input name="reset" type="reset" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" value="Temizle"/>
                                            <input name="submit" type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" value="Giriş" />
                                        </td>
                                    </tr>

                                </table>
                            </form>
                            <h:outputText style="color: red" value="#{SPRING_SECURITY_LAST_EXCEPTION.message}"/>
                        </p:panel>

                    </p:outputPanel>
                    <br/>

                </center>
            </div>
        </h:body>
    </f:view>
</html>
